valuesReference | EzDimStarter | Global parameters reference |
cameraBaseNumberInXYDir | bool | Update text rotation based on camera position |
rotateText180LocalY | bool | flip text in local Y |
rotateText180LocalZ | bool | flip text in local Z |
rotateText180LocalX | bool | flip text in local X |
isIndividual | bool | Allow dimension to have local attributes |
textSize | float | TextMesh font size |
localYOffset | float | Push the dimension in local Y direction to avoid Z-fighting with the underlying surface |
textLocalYOffset | float | Push the text in it's local Y direction to avoid Z-fighting with the area highlighting plane |
borderLocalYOffset | float | Push the border in local Y direction to avoid Z-fighting with the area highlighting plane |
borderThickness | float | Thickness of the border line |
positionOffset | Vector2 | 2d offset of the number in the surface |
enableBorderLine | bool | Show line around measured area |
numberColor | Color | Color of number's textMesh |
borderColor | Color | Color of border material. other material features can control by a costum script |
surfaceColor | Color | Color of surface material. other material features can control by a costum script |
hoveredTint | Color | This color multiplies to other colors if we hovered on any dimension when using mouse or VR |
selectedTint | Color | Color of selected dimensions |
hoveredOnSelectedTint | Color | Color of selected dimension when we hovered on it when using mouse or VR |
surfaceMaterial | Material | Material of area highlighting plane |
BorderMaterial | Material | Material of area border |
handlesParent | GameObject | Parent gameObject of area corners object |
cameraTransform | Transform | Transform of camera |
points | List<Vector2> | List of area corners in a 2d plane |
handlesList | List<GameObject> | List of area corners object |
area | float | Calculated area stores in this float |
borderLineGO | GameObject | Border line gameObject |
borderLine | LineRenderer | LineRenderer component to draw borderLine |
meshCenter | Vector3 | Center of the measured area |
allowDrawSurface | bool | Allow to update surface when corne's handles position are changing |
hitNormal | Vector3 | Get the normal of the surface to avoid flip normal using EzdimFunctions.InternalFunctions.FlipNormal() |
measurementPlane | Funcs.MeasurementPlane | Measure the area on this specific plane |
isDone | bool | This bool turns true at the end of creation process |
drawMode | bool | This bool turns true at the end of creation process |
updatePointsList() | Method | Get the List<Vector2> of area corners position on 2d plane and rearrange them based on measurement plane |
UpdateBorderLine() | Method | Update border line based on measurement plane and points position |
DrawArea() | Method | Draw, update and triangulate the highlighting plane mesh |
UpdateNumberPosAndRot() | Method | Update area number position and rotation |